<?php echo form_open(uri_string(), 'class="crud" id="appearance-form"'); ?>
<?php echo form_hidden('escort_id', $escort->getId()) ?>
<fieldset>
	<ul id="personal-content" class="ui-sortable form_inputs">
		<li class="five-column-wrapper" id="header">
			<div class="input type-text five-column">
				<div class="five-column-first">
					&nbsp;
				</div>
				<div class="five-column-second">
				&nbsp;
				</div>
				<div class="five-column-third">
				&nbsp;
				</div>
				<div class="five-column-fourth">
				<?php echo lang('escort_be_escort_public_label')?>
				</div>
				<div class="five-column-fifth">
				<?php echo lang('escort_be_escort_locked_label')?>
				</div>
			</div>
		</li>
		<li class="five-column-wrapper" id="personal_visit">
			<label for="site_name"><?php echo lang('escort_be_escort_appearance_hair_label')?></label>
			<div class="input type-text five-column">
				<div class="five-column-first">
				<?php echo form_dropdown('hair_color_id', getHairColorOptionData_ioc(), array($escort->getHairColorId()) , 'id="hair_color_id" class="custom"' );?>
				</div>
				<div class="five-column-second">
				<?php echo form_dropdown('hair_long_id', getHairLongOptionData_ioc(), array($escort->getHairSizeId()) , 'id="hair_long_id" class="custom"' );?>
				</div>
				<div class="five-column-third">
				<?php echo form_dropdown('hair_style_id', getHairStyleOptionData_ioc(), array($escort->getHairStyleId()) , 'id="hair_style_id" class="custom"' );?>
				</div>
				<div class="five-column-fourth">
				<?php echo form_checkbox('public_hair', 1, $escort->getPublicHair(), 'class="escort-checkbox"')?>
				</div>
				<div class="five-column-fifth">
				<?php echo form_checkbox('locked_hair',1,$lockedEscort->getLockedHair(), 'class="escort-checkbox"')?>
				</div>
			</div>
		</li>
		<li class="five-column-wrapper" id="personal_visit">
			<label for="site_name"><?php echo lang('escort_be_escort_appearance_eyes_label')?></label>
			<div class="input type-text five-column">
				<div class="five-column-first">
				<?php echo form_dropdown('eye_id', getEyeOptionData_ioc(), array($escort->getEyeId()) , 'id="eye_id" class="custom"' );?>
				</div>
				<div class="five-column-second">
					&nbsp;
				</div>
				<div class="five-column-third">
				&nbsp;
				</div>
				<div class="five-column-fourth">
				<?php echo form_checkbox('public_eye', 1, $escort->getPublicEye(), 'class="escort-checkbox"')?>
				</div>
				<div class="five-column-fifth">
				<?php echo form_checkbox('locked_eye',1,$lockedEscort->getLockedEye(), 'class="escort-checkbox"')?>
				</div>
			</div>
		</li>
		<li class="five-column-wrapper" id="personal_visit">
			<label for="site_name"><?php echo lang('escort_be_escort_appearance_height_label')?></label>
			<div class="input type-text five-column">
				<div class="five-column-first">
				<?php echo form_dropdown('height_id', getHeightOptionData_ioc(), array($escort->getHeight()), 'id="height_id" class="custom"');?>
				</div>
				<div class="five-column-second">
					&nbsp;
				</div>
				<div class="five-column-third">
				&nbsp;
				</div>
				<div class="five-column-fourth">
				<?php echo form_checkbox('public_height', 1, $escort->getPublicHeight(), 'class="escort-checkbox"')?>
				</div>
				<div class="five-column-fifth">
				<?php echo form_checkbox('locked_height',1,$lockedEscort->getLockedHeight(), 'class="escort-checkbox"')?>
				</div>
			</div>
		</li>
		<li class="five-column-wrapper" id="personal_visit">
			<label for="site_name"><?php echo lang('escort_be_escort_appearance_weight_label')?></label>
			<div class="input type-text five-column">
				<div class="five-column-first">
				<?php echo form_dropdown('weight_id', getWeightOptionData_ioc(), array($escort->getWeight()), 'id="weight_id" class="custom"');?>
				</div>
				<div class="five-column-second">
					&nbsp;
				</div>
				<div class="five-column-third">
				&nbsp;
				</div>
				<div class="five-column-fourth">
				<?php echo form_checkbox('public_weight', 1, $escort->getPublicWeight(), 'class="escort-checkbox"')?>
				</div>
				<div class="five-column-fifth">
				<?php echo form_checkbox('locked_weight',1,$lockedEscort->getLockedWeight(), 'class="escort-checkbox"')?>
				</div>
			</div>
		</li>
		<li class="five-column-wrapper" id="personal_visit">
			<label for="site_name"><?php echo lang('escort_be_escort_appearance_measures_label')?></label>
			<div class="input type-text five-column">
				<div class="five-column-first">
				<?php echo form_dropdown('measure1_id', getMeasureOptionData_ioc(), array($escort->getMeasure1()), 'id="measure1_id" class="custom"');?>
				</div>
				<div class="five-column-second">
				<?php echo form_dropdown('measure2_id', getMeasureOptionData_ioc(), array($escort->getMeasure2()), 'id="measure2_id" class="custom"');?>
				</div>
				<div class="five-column-third">
				<?php echo form_dropdown('measure3_id', getMeasureOptionData_ioc(), array($escort->getMeasure3()), 'id="measure3_id" class="custom"');?>
				</div>
				<div class="five-column-fourth">
				<?php echo form_checkbox('public_measures', 1, $escort->getPublicMeasures(), 'class="escort-checkbox"')?>
				</div>
				<div class="five-column-fifth">
				<?php echo form_checkbox('locked_measures',1,$lockedEscort->getLockedMeasures(), 'class="escort-checkbox"')?>
				</div>
			</div>
		</li>
	</ul>
	<?php echo form_button(array('id'=>'save-appearance', 'onClick'=>'saveAppearance()','name'=>'add', 'class'=>'btn blue', 'value'=>lang('escort_be_escort_appearance_save_label'), 'content'=>lang('escort_be_escort_appearance_save_label')))?>
</fieldset>
<?php echo form_close()?>